package logic

import (
	"love-backend/model"
	"love-backend/util/db"
)

type IndexLogic struct {
}

func (l *IndexLogic) GetUser() []model.User {
	var user []model.User
	db.DB.SQL("SELECT * FROM user").Find(&user)
	return user
}

func (l IndexLogic) getNtoice() {

}
